package com.baicaixiaozhan.springsecurityswaggerdemo.dao;

import com.baicaixiaozhan.springsecurityswaggerdemo.pojo.UserInfo;
import java.util.Optional;

/**
 * DESC:
 *
 * @author : baicaixiaozhan
 * @since : 2020-11-04
 */
public interface ApplicationUserDao {

    /**
     * 根据 username 查询 applicationUser
     * @param username
     * @return
     */
    Optional<UserInfo> selectApplicationUserByUsername(String username);

}